<?php

class Bootstrap extends \Base\Bootstrap
{
    public function _initDefine()
    {
        define('WECHAT_TPL_PATH', PHPLIB . "/Modules/Wechat/Views");
        define('WECHAT_PATH', '/wechat');
    }

    public function _initPlugin(\Yaf\Dispatcher $dispatcher)
    {
        $dispatcher->registerPlugin(new Plugin_Wechat());
    }
}